#include <iostream>
using namespace std;
int main() {
  int x;
  cin >> x;
  cout << (x >= 10 && x <= 99) << endl;
}